{% extends 'blog/base.html' %}
{% block contentBlock %}
    <div class="container">
        <section class="post_content" itemscope itemtype="http://schema.org/Article">
            <header class="post_header">
                <h1 class="post_title">分类</h1>
            </header>
            <div class="post-Archive">
                <div id="archives">
                    {% for category,count in category_list %}
                        <div class='archive-title' id='arti-{{ date|date:'Y-m' }}'>
                            <a href="{% url "category:cat_index" cat=category %}"><h3>{{ category }}<span>({{ count }})</span></h3></a>
                        </div>
                    {% endfor %}
                </div>
            </div>
        </section>
    </div>
{% endblock %}